const Concat = () => import("@/views/connetComponent/index.vue");
const PropsConcat = () => import("@/views/connetComponent/props实现父子通信/parent.vue");
const CustomEvent = () => import("@/views/connetComponent/customEvent/parent.vue");
const Mitt = () => import("@/views/connetComponent/mitt/parent.vue");
const Attrs = () => import("@/views/connetComponent/attrs/parent.vue");;
const RefAndParent = ()=> import("@/views/connetComponent/RefAndParent/parent.vue");
const PrivderAndInject = ()=> import("@/views/connetComponent/privderAndInject/parent.vue");

export default [
    {
        path: '/concat',
        component: Concat,
        children:[
            {
                path: 'propsConcat',
                component: PropsConcat
            },
            {
                path: 'customEvent',
                component: CustomEvent
            },
            {
                path: 'mitt',
                component: Mitt
            },
            {
                path: 'attrs',
                component: Attrs
            },
            {
                path: 'refAndParent',
                component: RefAndParent
            },
            {
                path: 'privderAndInject',
                component: PrivderAndInject
            }
        ]
    }
]